#ifndef CPU_H
#define CPU_H

typedef struct {
	bool hasCpuId;
	char vendorId[13];
	bool isIntel;
	bool isAmd;
	char brand[49];
	
	bool hasMmx;
	bool hasSse;
	bool hasSse2;
	bool hasHt;
	bool hasSse3;
	bool hasSsse3;
	bool hasFma;
	bool hasSse4_1;
	bool hasSse4_2;
	bool hasAvx;
	bool has3dnow;
	bool has3dnowPlus;
	
	int nCpus;
	
} CpuInfo;


void initCpuInfo();
void dumpCpuInfo();
CpuInfo* getCpuInfo();

#endif
